home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PorkWare 1
/
PorkWare 1 (Premium Quality) (Sexy CD).iso
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-04-04
|
8KB
|
196 lines
@ECHO OFF
IF "%1"=="" GOTO GETDRIVE
IF "%2"=="" GOTO GETDRIVE
GOTO GETSTART
:GETDRIVE
CLS
ECHO.
ECHO.
ECHO ┌── You Need to Specify Your Hard Drive and CD-ROM Drive Letters! ───┐
ECHO └───────────────────── Please specify like this: ────────────────────┘
ECHO.
ECHO INSTALL C D
ECHO.
ECHO ──────────────── If you want to install to your C: Drive ─────────────
ECHO. with your CD-ROM Being D: Drive
ECHO.
GOTO END
:GETSTART
CLS
ECHO.
ECHO ▐▐▌ You have specified that you want to install the VPIC .GIF viewer
ECHO ▐▐▌ program on Drive %1: of your system.
ECHO ▐▐▌
ECHO ▐▐▌ Is This Correct? [y/N]
echo.
ASK A N
IF ERRORLEVEL = 2 GOTO END
IF ERRORLEVEL = 1 GOTO DO_IT
IF ERRORLEVEL = 0 GOTO END
:DO_IT
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────────────────────────┐
ECHO │ Now making the sub-directory "%1:\VPIC" on your system │▄
ECHO └──────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
MD %1:\VPIC
ECHO.
ECHO ┌──────────────────────────────────────────────────────────────────┐
ECHO │ Now copying the VPIC files to your Hard Drive │▄
ECHO └──────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
copy *.* %1:\vpic
copy %2:\vpic49 %1:\vpic
%1:
CD %1:\VPIC
ECHO.
ECHO.
ECHO ┌─────────────────────────────────────────────────────────────────┐
ECHO │ We are now going to run a little utility. │▄
ECHO │ │█
ECHO │ This utility will instruct you as to what video driver to use │█
ECHO │ with your copy of VPIC. │█
ECHO │ │█
ECHO │ Please make note of this information, │█
ECHO │ as you will need it in a few seconds. │█
ECHO └─────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
PAUSE
WHICHVGA
ECHO.
ECHO ┌─────────────────────────────────────────────────────────────────┐
ECHO │ Please make note of the driver specified. │▄
ECHO └─────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
PAUSE
CONFIG
ECHO.
ECHO ┌─────────────────────────────────────────────────────────────────┐
ECHO │ If you put in your video driver information correctly, │▄
ECHO │ your copy of VPIC is now ready for use! │█
ECHO │ │█
ECHO │ Just type in VPIC and hit F9 to specify your "path" to the │█
ECHO │ GIF files that you wish to view. │█
ECHO └─────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
PAUSE
ECHO.
ECHO ┌─────────────────────────────────────────────────────────────────┐
ECHO │ Please Note that VPIC is a Shareware Program. │▄
ECHO │ If you decide that it is a good program, please support │█
ECHO │ the Shareware Effort by Registering the Program. │█
ECHO └─────────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
PAUSE
CLS
ECHO.
ECHO.
ECHO ┌─────────────────────────────────────────────────────────────┐
ECHO │ We are now going to create a batchfile that will allow you │▄
ECHO │ to access the PorkWare(tm) Disc(s) with VPIC. │█
ECHO │ This Batchfile will be called VIEWPORK, and it will reside │█
ECHO │ in your C:\DOS Directory. If you do not have a C:\DOS │█
ECHO │ Directory, or do not wish this batchfile to be written, │█
ECHO │ please indicate so now. │█
ECHO │ │█
ECHO │ When the batchfile is created, you should only have to │█
ECHO │ type in the word VIEWPORK, and it will start viewing. │█
ECHO └─────────────────────────────────────────────────────────────┘█
ECHO ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
ECHO.
ECHO Do You wish to create the Batchfile?
echo.
ASK a n
IF ERRORLEVEL = 2 GOTO ABCD
IF ERRORLEVEL = 1 GOTO MAKEBAT
IF ERRORLEVEL = 0 GOTO ABCD
:MAKEBAT
if exist c:\dos\viewpork.bat del c:\dos\viewpork.bat
echo @echo off >>c:\dos\viewpork.bat
echo :Loop >>c:\dos\viewpork.bat
echo %1 >>c:\dos\viewpork.bat
echo cd %1:\vpic >>c:\dos\viewpork.bat
type porkmenu.txt >>c:\dos\viewpork.bat
echo :vpic1 >>c:\dos\viewpork.bat
echo vpic %2:\x01 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic2 >>c:\dos\viewpork.bat
echo vpic %2:\x02 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic3 >>c:\dos\viewpork.bat
echo vpic %2:\x03 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic4 >>c:\dos\viewpork.bat
echo vpic %2:\x04 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic5 >>c:\dos\viewpork.bat
echo vpic %2:\x05 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic6 >>c:\dos\viewpork.bat
echo vpic %2:\x06 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic7 >>c:\dos\viewpork.bat
echo vpic %2:\x07 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic8 >>c:\dos\viewpork.bat
echo vpic %2:\x08 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic9 >>c:\dos\viewpork.bat
echo vpic %2:\x09 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic10 >>c:\dos\viewpork.bat
echo vpic %2:\x10 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic11 >>c:\dos\viewpork.bat
echo vpic %2:\x11 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic12 >>c:\dos\viewpork.bat
echo vpic %2:\x12 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic13 >>c:\dos\viewpork.bat
echo vpic %2:\x13 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic14 >>c:\dos\viewpork.bat
echo vpic %2:\x14 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic15 >>c:\dos\viewpork.bat
echo vpic %2:\x15 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic16 >>c:\dos\viewpork.bat
echo vpic %2:\x16 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic17 >>c:\dos\viewpork.bat
echo vpic %2:\x17 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic18 >>c:\dos\viewpork.bat
echo vpic %2:\x18 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic19 >>c:\dos\viewpork.bat
echo vpic %2:\x19 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic20 >>c:\dos\viewpork.bat
echo vpic %2:\x20 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic21 >>c:\dos\viewpork.bat
echo vpic %2:\x21 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic22 >>c:\dos\viewpork.bat
echo vpic %2:\x22 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :vpic23 >>c:\dos\viewpork.bat
echo vpic %2:\x23 >>c:\dos\viewpork.bat
echo goto loop >>c:\dos\viewpork.bat
echo :End >>c:\dos\viewpork.bat
echo :Exit >>c:\dos\viewpork.bat
:AbcD
:END